package com.leaf.domain.strategy.service.rule.chain;

import com.leaf.domain.strategy.service.rule.chain.factory.DefaultChainFactory;

/**
 * @Author LEAF
 * @Create 2024/8/4 14:54
 * @Description 责任链接口
 * @Version 1.0
 */
public interface ILogicChain extends ILogicChainArmory{
    /**
     * 责任链接口
     *
     * @param userId     用户ID
     * @param strategyId 策略ID
     * @return 奖品ID
     */
    DefaultChainFactory.StrategyAwardVO logic(String userId, Long strategyId);

}
